import styles from "./index.less";
const PaddingSizeEnum = {
  small: "8px",
  middle: "16px",
  large: "24px",
};

export default ({ children, paddingSize = "middle" }) => {
  return (
    <div
      className={styles.cardContainer}
      style={{ padding: PaddingSizeEnum[paddingSize] }}
    >
      {children}
    </div>
  );
};
